import { Component, inject } from "@angular/core";
import { Router } from "@angular/router";
import { AnalyticsLogger } from "./services/analytics-logger";

@Component({
  selector: "ngx-root",
  templateUrl: "./root.component.html",
  standalone: false,
})
export class RootComponent {
  private analytics = inject(AnalyticsLogger);

  private router = inject(Router);

  constructor() {
    this.analytics.trackEvent("root", "constructor");
  }
}
